package com.example.myerp.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.myerp.pojo.S_cell;
import com.example.myerp.pojo.S_cell_fp;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.myerp.pojo.S_cell_fp2;
import com.example.myerp.pojo.S_cell_fp3;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zhuxingyu
 * @since 2021-08-13
 */
public interface S_cell_fpService {
    Integer Product_one_Add(String oneid, String prename);

    Integer product_second_Add(String oneid, String second, String secondName);


    Integer product_second_Add2(S_cell_fp2 s_cell_fp2);


    Integer product_three_Add(String threeId, String thirdproName, String twoId);

    IPage<S_cell_fp> getPageList(Long pageNum, Long pageSize);

    Integer uodateStoreId(Long storeId, Long id, String ilevelarean);

    Integer insertadd(S_cell_fp s_cell_fp);

    Integer rowCount(S_cell_fp s_cell_fp);

    Long InterMaxId();

    IPage<S_cell_fp2> getfp2(Long pageNum, Long pageSize);

    Integer product_second_Add2(S_cell_fp s_cell_fp);

    public String ilevelarean(Integer firstKindId);

    public List<S_cell_fp> getduiYing(String firstKindId);

    public Integer insertAddS_Cell_fp2(S_cell_fp2 s);

    public Integer s_Cell_fp2_Count(S_cell_fp2 s);


    public Integer  s_cell_fpCount(Long id);

    public Integer delfp2(Long id);


    public  IPage<S_cell_fp3> getPage3(Long pageNum,Long pageSize);

    List<S_cell_fp3> getHouName(String secondKindId);

    Integer insertS_cell_fp3(S_cell_fp3 s_cell_fp3);

    void UpdateS_cell_fp3(S_cell_fp3 s_cell_fp3);


    Integer s_cell_fp3Count(S_cell_fp3  s_cell_fp3);

    Integer dels_cell_fp3(Long fp2_id);


    Integer selCountfp3(Long id);

    Integer delCount_fp2(Long id);

    Integer checkKunCun( Integer firstKindId, Integer secondKindId,Integer thirdKindId);


}
